from pkg.setting import setting


class _Config(object):
    DEBUG = setting.DEBUG
    SECRET_KEY = setting.SECRET_KEY
    PORT = setting.PORT
    READ_TIMEOUT = setting.READ_TIMEOUT
    WRITE_TIMEOUT = setting.WRITE_TIMEOUT
    SQLALCHEMY_DATABASE_URI = setting.SQLALCHEMY_DATABASE_URI
    SQLALCHEMY_TRACK_MODIFICATIONS = setting.SQLALCHEMY_TRACK_MODIFICATIONS
    SQLALCHEMY_ECHO = setting.SQLALCHEMY_ECHO




def Setup(app):
    app.config.from_object(_Config)
